package com.base.mapper.voipmapper;

import com.base.po.tbk.TbkBrandShop;
import com.base.po.tbk.TbkBrandShopExample;
import com.base.utils.Page;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface TbkBrandShopMapper {
    int countByExample(TbkBrandShopExample example);

    int deleteByExample(TbkBrandShopExample example);

    int insert(TbkBrandShop record);

    int insertSelective(TbkBrandShop record);

    List<TbkBrandShop> selectByExample(TbkBrandShopExample example);

    List<TbkBrandShop> selectAll(@Param("page") Page page, @Param("parentid") String parentid,
                                 @Param("categoryid") String categoryid, @Param("name") String name,
                                 @Param("isall") Integer isall);

    List<TbkBrandShop> selectByName(String name);

    TbkBrandShop selectByPrimaryKey(String id);

    int updateByExampleSelective(@Param("record") TbkBrandShop record, @Param("example") TbkBrandShopExample example);

    int updateByExample(@Param("record") TbkBrandShop record, @Param("example") TbkBrandShopExample example);

    int updateByPrimaryKeySelective(TbkBrandShop record);

    int countAll(@Param("parentid") String parentid, @Param("categoryid") String categoryid,
                 @Param("name") String name);
}